/* 
 *   Classname:  startup.EnvironmentAwareStartup
 * 
 *   Date       Developer   Description
 *   2017年8月13日    周成功              新建
 *
 */
package SpringBoot.__template.full.config;

import org.springframework.boot.bind.RelaxedPropertyResolver;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;

import com.titan.core.utils.io.ConsoleUtils;
import com.titan.core.web.utils.SpringBootUtils;

/**
 *
 *
 * @author 周成功
 *
 */
@Configuration
public class EnvironmentAwareStartup implements EnvironmentAware {
    @Override
    public void setEnvironment(Environment env) {
        ConsoleUtils.method(EnvironmentAwareStartup.class, "setEnvironment");
//        RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(env);
//        SpringBootUtils.initConfig(resolver);
    }
}
